package ru.magicreader.client;

import ru.magicreader.client.controller.Controller;
import ru.magicreader.client.view.MainPage;

import com.google.gwt.core.client.EntryPoint;

/**
 * Entry point classes define <code>onModuleLoad()</code>.
 */
public class Magicreader implements EntryPoint {
	private Controller controller = new Controller();
	private MainPage mainPage = new MainPage(controller.getMainState());
	
	/**
	 * This is the entry point method.
	 */
	public void onModuleLoad() {
		mainPage.load();
	}
}
